package com.zx.designpattern.model.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;

import java.io.Serializable;

/**
 * 朝代
 *
 * @author Administrator
 */
@JsonIgnoreProperties(ignoreUnknown = true)//可忽略多余字段
@Entity
public class TagMod implements Serializable {
    @Keep
    private static final long serialVersionUID = 1L;
    @Id
    private String id; // 主键
    @Generated
    private String name; // 名字

    @Generated(hash = 1971659794)
    public TagMod(String id, String name) {
        this.id = id;
        this.name = name;
    }

    @Generated(hash = 736744439)
    public TagMod() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

   
}
